import LoginCode from '../pages/Login/LoginCode'
import LoginPassword from '../pages/Login/LoginPassword'
import RegisterPhone from '../pages/Register/RegisterPhone'
import RegisterCode from '../pages/Register/RegisterCode'
import RegisterPassword from '../pages/Register/RegisterPassword'
import CountryPicker from '../components/CountryPicker'
// 路由的配置项
const routes = [
    {
        path: '/login/code',
        component: LoginCode,
    },
    {
        path: '/login/password',
        component: LoginPassword,
    },
    {
        path: '/register/phone',
        component: RegisterPhone,
    },
    {
        path: '/register/code',
        component: RegisterCode,
    },
    {
        path: '/register/password',
        component: RegisterPassword,
    },
    {
        path: '/countryPicker',
        component: CountryPicker,
    },
]

// 暴露出去
export default routes
